package cn.iocoder.yudao.module.picturebook.controller.admin.picturepost.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 帖子 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PicturePostRespVO {

    @Schema(description = "帖子Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30532")
    @ExcelProperty("帖子Id")
    private Long postId;


    @Schema(description = "绘本id", example = "18649")
    @ExcelProperty("绘本id")
    private Long bookId;

    @Schema(description = "贴标题")
    @ExcelProperty("贴标题")
    private String title;

    @Schema(description = "图片url", example = "https://www.iocoder.cn")
    @ExcelProperty("图片url")
    private String imageUrl;

    @Schema(description = "帖子内容")
    @ExcelProperty("帖子内容")
    private String context;

    @Schema(description = "帖子类型", example = "1")
    @ExcelProperty("帖子类型")
    private Integer type;

    @Schema(description = "创建人头像")
    @ExcelProperty("创建人头像")
    private String avatar;

    @Schema(description = "创建人")
    @ExcelProperty("创建人")
    private String creator;

    @Schema(description = "点赞数量")
    @ExcelProperty("点赞数量")
    private Integer likeCount;

    @Schema(description = "评论数量")
    @ExcelProperty("评论数量")
    private Integer commentCount;

    @Schema(description = "是否点赞,如果为0则为点赞，返回的数字为点赞id")
    @ExcelProperty("是否点赞")
    private Integer isLike;


    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private String createTime;

}